package org.example.dto;

import lombok.Data;
import org.example.utils.StrUtil;

import java.util.Set;

@Data
public class FoodDetails {

    private String color;
    private Set<String> uses;

    public FoodDetails() {
    }

    public FoodDetails(String color,String use) {
        this.color = color;
        this.uses= StrUtil.toSet(use);
    }
}
